package com.fc.v2.model.auto;

import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.util.List;

public class Course implements Serializable {
    private static final long serialVersionUID = 1L;

	
	@ApiModelProperty(value = "主键id")
	private Integer id;
	
	@ApiModelProperty(value = "标题")
	private String title;
	
	@ApiModelProperty(value = "封面")
	private String cover;
	
	@ApiModelProperty(value = "价格")
	private BigDecimal price;
	
	@ApiModelProperty(value = "课时")
	private Integer cHours;
	
	@ApiModelProperty(value = "课程类型")
	private Integer typeId;
	
	@ApiModelProperty(value = "所属机构")
	private Integer mechanismId;
	
	@ApiModelProperty(value = "是否热门 0 否  1 是")
	private Integer popular;
	
	@ApiModelProperty(value = "状态 0 禁用  1 启用")
	private Integer status;

	private List<String> teachingTypeList;

	@JsonProperty("id")
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id =  id;
	}
	@JsonProperty("title")
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title =  title;
	}
	@JsonProperty("cover")
	public String getCover() {
		return cover;
	}

	public void setCover(String cover) {
		this.cover =  cover;
	}
	@JsonProperty("price")
	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price =  price;
	}
	@JsonProperty("cHours")
	public Integer getCHours() {
		return cHours;
	}

	public void setCHours(Integer cHours) {
		this.cHours =  cHours;
	}
	@JsonProperty("typeId")
	public Integer getTypeId() {
		return typeId;
	}

	public void setTypeId(Integer typeId) {
		this.typeId =  typeId;
	}
	@JsonProperty("mechanismId")
	public Integer getMechanismId() {
		return mechanismId;
	}

	public void setMechanismId(Integer mechanismId) {
		this.mechanismId =  mechanismId;
	}
	@JsonProperty("popular")
	public Integer getPopular() {
		return popular;
	}

	public void setPopular(Integer popular) {
		this.popular =  popular;
	}
	@JsonProperty("status")
	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status =  status;
	}

	public Integer getcHours() {
		return cHours;
	}

	public void setcHours(Integer cHours) {
		this.cHours = cHours;
	}

	public List<String> getTeachingTypeList() {
		return teachingTypeList;
	}

	public void setTeachingTypeList(List<String> teachingTypeList) {
		this.teachingTypeList = teachingTypeList;
	}

	public Course(Integer id, String title, String cover, BigDecimal price, Integer cHours, Integer typeId, Integer mechanismId, Integer popular, Integer status) {
				
		this.id = id;
				
		this.title = title;
				
		this.cover = cover;
				
		this.price = price;
				
		this.cHours = cHours;
				
		this.typeId = typeId;
				
		this.mechanismId = mechanismId;
				
		this.popular = popular;
				
		this.status = status;
				
	}

	public Course() {
	    super();
	}

	

}